﻿module WingBeats.CSS.Scripting

open System.IO

let toFile (path : string) domains =
    use writer = new StreamWriter(path)
    writer.Write(domains |> Render.stylesheetToString)